//显示相应信息弹窗
function showInfo(value) {
    const infoModal = document.getElementById("infoModal");
    infoModal.style.display = "block";
    const infoTitle = document.getElementById("infoTitle");
    infoTitle.textContent = value;
    // 3秒后消失
    setTimeout(function() {
        infoModal.style.display = "none";
    }, 3000);
}

// 点击其他区域消失
document.getElementById("confirmBtn").onclick = function() {
    document.getElementById("infoModal").style.display = "none";
};